package com.hongdee.scm.repertory.service;

import com.hongdee.scm.repertory.entity.TScmReperory;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

import java.util.List;
import java.util.Map;

/**
 * 名  称:ITScmRepertoryService
 * 类  型:Interface
 * 描  述:
 * 路  径:com.hongdee.scm.repertory.service
 * 作  者: 术洪超
 * 日  期:2017-05-31 16:01
 */
public interface ITScmRepertoryService {


    public Map info(String id, String uid) throws Exception;

    //public TScmStock save(TScmStock data,String uid) throws Exception;

    public void update(String[] ids, String saleType, String saleTypeReason,String allocationStatus) throws Exception;

    public Map page(String start, String limit, String uid, Map data) throws Exception;

    public Map pageApp(String start, String limit, String uid, Map data) throws Exception;

    //库存报表
    public Map repertoryReport( String radio,String uid,Map data) throws Exception;


    public Map reportPage(String start, String limit, String uid,String name,String type,Map data) throws Exception;
    //导出excel
    public List<TScmReperory> getExcel(String uid, Map data) throws Exception;

    public XSSFWorkbook createExcel(List<TScmReperory> list, String uid) throws Exception;
}
